package com.cnhis.cloudhealth.clinical.hosnurse.executionorder.service;

import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.hosnurse.executionorder.bo.HosExecutionOrderBo;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;

@Service
public class HosExecutionOrderImpl implements IHosExecutionOrder{
 @Autowired
 private HosExecutionOrderBo hosExecutionOrderBo;

@Override
public ModelVo patientList(Map map,int currPage,int pageSize) throws Exception {
	return hosExecutionOrderBo.patientList(map, currPage, pageSize);
}
@Override
public ModelVo patientList1(Map map) throws Exception {
    return hosExecutionOrderBo.patientList1(map);
}

@Override
public ModelVo examine(Map map, int currPage, int pageSize) throws Exception {
	return hosExecutionOrderBo.examine(map, currPage, pageSize);
}

@Override
public ModelVo checkOut(Map map, int currPage, int pageSize) throws Exception {
	return hosExecutionOrderBo.checkOut(map, currPage, pageSize);
}

@Override
public ModelVo areaPatientList(Map map) throws Exception {
	return hosExecutionOrderBo.areaPatientList(map);
}

@Override
public ModelVo queryItems() throws Exception {
	return hosExecutionOrderBo.queryItems();
}

@Override
public ModelVo queryAdviceList(Map map, int currPage, int pageSize) throws Exception {
	
	return hosExecutionOrderBo.queryAdviceList(map, currPage, pageSize);
}

	@Override
	public ModelVo insertExeRecord(Map map) throws Exception {
		return hosExecutionOrderBo.insertExeRecord(map);
	}

	@Override
	public ModelVo updateExeRecord(Map map) throws Exception {
		return hosExecutionOrderBo.updateExeRecord(map);
	}

	@Override
	public ModelVo getBarcodeInfo(Map map) throws Exception {
		return hosExecutionOrderBo.queryBarcodeInfo(map);
	}

	@Override
	public ModelVo getUnExecuteOrder(Map map,int pageno,int pagesize) throws Exception {
		return hosExecutionOrderBo.queryUnExeRecord(map,pageno,pagesize);
	}

	@Override
	public ModelVo getExecuteOrder(Map map,int pageno,int pagesize) throws Exception {
		return hosExecutionOrderBo.queryExeRecord(map,pageno,pagesize);
	}
    @Override
    public ModelVo examine1(HashMap map)
        throws Exception
    {
        return hosExecutionOrderBo.examine1(map);
    }
}
